Merge pull request #798 from Heathtech/master

Fixes sprite_add when subimages > 1