Adds z-index to debug field