I remember it always happened without my input, usually after an enemy turn. I will try to replicate it tonight. It's minor issue, you can click the red cross button to get back.