Fixing vertical alignment (existing bug). Searching all the way up the parent tree for zIndex.