Fix in func_movelinear

The start and end positions are now calculated in local (parent) space.