I've ran the same code on Windows, and I do not have this issue.