Fix windows user interface behavior