fixed a bug where switching language makes the view fly away
fixed a bug