Fix wizard matrix on win32. Closes:#531