ensure card z-index is always less than selection z