Update content size on pane resize too