Fix for #5800

fix for https://github.com/adobe/brackets/issues/5800