Fixes text typing for Windows