Fix typo causing failures to update the preview after changing