Fix event for MSIE