Bug 979764 - [keyboard refactor] resizeTo would be invoked more tha once when keyboard relaunch