Fix sprite speed with gravity