Use z-index for selection