avoid an edge effect if the PML color number is too high for the display