Fixed issue with caps on Windows