Fixes issue 4781.

Details here: https://github.com/adobe/brackets/issues/4781