clear events if screen is undefined