Fix changing size when using AutoLayout

after changing values which influence size, call invalidateIntrinsicContentSize so AutoLayout will use new size