Killing wrong pane