- fixed calling of IMGUIClear() when the view state changed (was previously called only when the game state changed)