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