fix position methods

fixed border parent bug