Fix bug with theme in Windows 8