Fix regression in Graphics.FromImage