changed function logic for changing fullscreen/scaling/vsync to match