fix undefined zIndex