Tied x and y to the sprite's position.