fixing pane not showing in correct position in some browsers