Fix for issue #176, EventDispatcher.dispatchEvent() does not handle default values properly