Fix z-index attributes