Fixed custom object not moving when return value of function