Fix: to avoid layout problem on first typing  with auto layout