Re-add the actual scaling of the pattern...
CCBUG:419450 (cherry picked from commit fcc601803cfac82510c374e1e402ee7afcb0918c)