Fix for fix for Newer "any-tileset-slot" hack

Guess what? That "new feature" didn't actually work as intended. :P
Thanks to Hippo for pointing it out.
I also broadened the sprite struct.error handling code.