Fixed bug #188: unhandled event in processEvent. The error was seen in