Fixed the loading of panes