Minor fix. The target was not set correct. This is important when a parent element registers the handler.