Fix issue with pane and content