[BUG #7521] Fixed focusing on emulate mouse and iOS.