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