Fixed Windows bug where projects wouldn't refresh when opened

This fixes the bug but at the cost of a double refresh on Mac