sprite: A better hack of a fix for issue #1