Update Spritemap.hx

Fixing issues when flipping spritemaps (Not setting the correct frame when flipping).