small bug fix on Sprites