Fix a defect for column lock when in contrast mode.