[BUG #8587] further restrict native mouse capturing