Sending key events through script task before processing them in the compositor.



Fixes #4163