This seems to be an expected behaviour as COI shows where edge effects become significant and Gray regions outside the dashed white line delineate regions where edge effects are significant. For now there is no such option to remove the white line. Although you can try to reconstruct the scalogram function according to your needs by using outputs from cwt.
Hope it helps!!