CC517, Setting Stock size smaller than 25mm w/ centered origin results in wrong origin

Set the stock so that one dimension is smaller than the 25mm which is allowed, and have the origin set to the center of the stock:

The origin will not be placed at the center, but will instead be where it ought to have been if the smaller size were allowed: