Fixed a minor bug about focusing to textarea