editor/imgui: do not render 0 sized cmd_list

Avoids crash