Bug 925685 - Make test keyboard app change its window height correctly, ...

...r=timdream

(cherry picked from commit 18024ff6a29439023b546c6f269bc964e0aadc32)