Fix custom sprite offsets being set incorrectly

This fixes the issue with the Cacodemon death (issue #39). Alas, this
also means no one gets the Doom Beta key I was offering (see
https://twitter.com/doomretro/status/472494870418817024).