Free the event after being handled to prevent memory leak. https://bugzilla.gnome.org/show_bug.cgi?id=756799