Fixing a bug: for some reason the variable local in setColor() becomes a write-only...