fix textfield auto adjust orientation bug