Use custom events to pass frame information around