Correct setPosition