Fix highlighting candidates problem for Windows