fixed expandWidth/expandHeight effects