fixed footer's tooltip bug: opened only after two clicks.