Fix win32 console partial print being overwritten