[GUI]Fixing hide-text extend functionality on firefox