Invalid sprites are now caught.