fixed zero length sprite crash