Send mouse events from GUI thread to improve mouse performance.

Signed-off-by: Janne Hakonen <janne.hakonen@oss.tieto.com>