I find this often happens with games that have cursor-location-based POV.
Try hitting ctrl+0 to change zoom to 100%, and refreshing the page. The glitch shouldn't be due to the game itself, but rather an odd itch.io interaction with canvas+mouse location at different page zooms.