fix bug with z-index and bubbles