Updated Sprite class, can now rotate properly on a center.

small bug added when rendering single frame sprites, only render a
texture for a single framed object? sprite class is mainly for
animation.