[Toolkit.Graphics] Fix compilation error (with .NET 2.0)