adds width and height during _resolveConstraintDependencies