titleeditor: Fix color setting post Python3 port