Add timeout of 50ms before hidding the panel. This because focusout can be called first before click