Corrected a small problem with empty values when determining custom color and position parameters.