Fix fullscreen mode regression
It continues !19 (merged) and eliminates regression related to switching to fullscreen mode.
I want to note that behavior is still far from perfect and it seems unclear to handle different window states in a different manner. Therefore I am not skilled enough to improve this.