Fixed copy and paste error in setting motion values on server side