Compensation of position errors in passivity based teleoperation over packet switched communication networks