Fix `KeyError: (1, 0, 0, 6)` on Windows