added padded sprite dimensions to the sprite object constructor