Fix stabilizing framerate on Win32