better (but not perfect) handling of windowed/fullscreen switch