Fix namespacing of mouseevent