set a proper z-index to avoid ux issues