[qtdeclarative] Fix mouse event filtering regression introduced by 42284...

...e3f