Add Event Handler to wait for next frame