Rendered sprites are now scaled correctly.

Added the concept of a texture which is used to scale the rendering quad
used for rendering sprites.