Prevent overwriting of initial colors.
Centralize mask drawing.