Implemented pivot points to the spritesheet