Fix PM pane bug