Bug 1005752 - [Keyboard] Should not setLayoutFrameActive(false) if we don't need to

Would you mind rename all `keyboard` variable in `InputFrameManager` to `frame`? That's more specific....