Bug fix for Edit Box on Windows