Error message z-index correction