Corrected texture map offset and calculations to handle sprite sheets with multiple sprites.
First release.