why do math when a const int will do just as well

the math was off anyway.
Merge remote-tracking branch 'upstream/master' into experimental
Place the text input window higher so that it won't get overlapped by on-screen keyboard