Bug 863662 - Optimize render speed of keyboard

This is part of patch for [#863662](https://bugzilla.mozilla.org/show_bug.cgi?id=863662). This brings back the draw time of the keyboard down from ~100 ms. to ~40 ms. (on Geeksphone Keon on mc).