Fixed style definition issue when remapping.