Fix sprite drawing