SpriteEditor mouse handling among other things