[BUG #7867] Fixed mouse emulation used in an iframe.