Fixed 'Bug 17618 - Static event handler assignment'