Fixed divide by zero bug that would stop all movement