105491: Switched update of vertical flag and setting the item set to avoid infinite recursion.
(cherry picked from commit bb94c19d2c7df1c468d38b7744e0d34e8ac27a99)
need to call SetFrameSize on Resize

otherwise if the crop tab is not the initial tab shown then
it doesn't repaint correctly when it is shown

Change-Id: Ie61819fe3fb089b716547fa5e54352ae04fd8087