More precise (and actually working) toolbar event handling.