Restored secondary windows need repainting

* fixes https://github.com/adobe/brackets/issues/5252