afl++ has now the environment variable AFL_FORCE_UI which will force painting the UI.
so you dont need your patch anymore (which will also fail against the current version as a lot was changed).
its in the master, and a new release is coming out today or tomorrow.