Fixed a mistake in WinMain