core: don't use magic numbers to set xintensity.