provide fix for https://github.com/adobe/brackets/issues/4424

Would you mind reviewing it @jasonsanjose? Thanks!