Wondering why this happened?
Reasons for this glitch:
1) If you have forgotten to create a mask while trying to create a custom sized sprite.
2) If you have forgotten to add the npc.txt for this sprite
Broken and original sprite, and the mask:
A Valid image and mask:
And this allows it to be displayed correctly: