Fixed Win32 shadow bug