Fix on z-index of tool panels