App: emit_flushdraw() should actually emit a flushdraw event.