bugfix zIndex for overlay elements