Fixed problem with resize in relative layout when one of the children is hidden