Select Rectangle Area going out of grid

When I try to use the select tool to select part of a sprite, the selector spawns outside of the sprite. I have been able to consistently reproduce this glitch. I can’t share the game link because it’s private, but refreshing the page didn’t help. It also affects every sprite in the game.

This bug breaks the function of the select tool and it cannot select anything. It just places the select tool in the top right corner just outside the sprite’s grid.