Verification to reset the centerpoint of a textfield in the render class