Bugfix: replaced direct access to COLORS to fix a crash