Adding z-index to make overlays overlay properly