Recalculates the dimensions by the width and height
dimensions::fitWidthAndHeight($width, $height, $force = false)