Fix z-index issues with adjacent visible content items