Fix z-index for popups