Bug 1005752 - [Keyboard] Should not setLayoutFrameActive(false) if we don't need to
Merge pull request #23413 from mnjul/bug_1005752_keyboard_not_setLayoutFrameActive

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