Pane animation fixes