that's not a BASIC! fault. it's your keyboard switching to a different input window because your screen is too small to properly display BASIC!'s
this happens on most devices in most apps, and is dependant on the keyboard app, not BASIC! if you don't want this to happen, get Hacker's Keyboard, it has a setting to disable this behaviour.