Fixed DisableResizing so it does not mess up positioning of children