WebStyle: fix when switching language