Fix watching z-index