Press 'd' for debug mode, arrow keys to move around
Resize the sprite, rotate the actor, etc. The 4 colored corner dots should remain correcly on the 4 corners of the sprite.
player.isOffscreen should only be true if the actor (outlined in yellow in debug mode) and the sprite are both off screen.