Revert "Fix crash when cursor color is truecolor"