Added a cap in the movement pixel computation.

This will avoid letting certain sprites movement go through obstacles
when the FPS are low, for instance.