The Quirks of Z-Index