fix Panel event error in ie