Attempt to fix taskbar bugs on Windows (#328, #69)