Fixed isMouseEvent() return statement.