Update Spritemap.hx

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

Fixing issues when flipping spritemaps (Not immediatly updating to the correct frame when flipping during active animation).
Merge pull request #327 from VoEC/dev

Fix Spritemap.flipped in Buffer mode, Fix #326