Flush frame events before other events
Still missing from !108 (merged): ensure that a frame event is inserted before a non-device event so that the sequence
eis_touch_up(t);
eis_device_stop_emulating(device);
Produces this sequence on the wire:
TOUCH_UP
FRAME
STOP_EMULATING