Fix bad sprite positioning bug