Some changes made to the Direct2D graphics provider.