setPosition() and getCenter() fixed