Fix z-index for zoomed thumbnails