It may be that you have a type of troop selected when you click intending to change your view or zoom in/out. Can you recall or otherwise confirm? I mention this specifically because it has happened to me in the past, and would welcome having no troop type selected by default to avoid this. If you did not have a type of troop selected and this still happened, I agree that's a bug indeed.