Fixed refresh on Windows 8