Bug 860318 - Update keyboard visuals to improve performance

Bug [#860318](https://bugzilla.mozilla.org/show_bug.cgi?id=860318)