I set up an extremely simple fullscreen toggle using the escape key, essentially the same code used in the manual example for window_set_fullscreen. When I press escape, the window switches between fullscreen and not fullscreen. However, when I toggle fullscreen, my player character, who works totally fine otherwise, gets locked into their walking animation when I move them. Pressing escape a second time stops this movement and returns everything to normal, but doesn't switch fullscreen. Pressing escape a third time switches fullscreen and causes the same issue. No other object seems to have this difficulty (though the PC is the only animated object on the screen, which may be why). The escape key isn't referenced anywhere else in my game, and I tried it with another key that I hadn't yet used (F), and the same problem occurred. Does someone know what could possibly be going on?