Resolve inconsistency when setting game window resizable to false