Again here would be safer to check motionPosition >= 0 as well.