fixed events bug related to focusAll()