Fix improper logic when comparing resolutions
recreate window on resolution change. This fixes misplaced controls when changing resolution in fullscreen mode.