fix animation gltiches when pane is down;