Fix sprites

Fixes issue #46