Working fix for adobe/brackets#5537