Avoid event handler conflict