Added a grid snapper for easy positioning of sprites.