Make import panes work again by adjusting z-indexes