Small change on setPosition