Resize master only when resizing is visible (i.e. in Stack layouts).