Update CapabilityUtil.java

fix ScaleHint calculation