protected virtual void CreateRenderTargets()
{
this.InMemoryToolboxRenderTarget = new RenderTarget2D(
this.GraphicsDeviceManager.GraphicsDevice,
this.ImageStateData.Width,
this.ImageStateData.Height);
this.InMemoryCanvasRenderTarget = new RenderTarget2D(
this.GraphicsDeviceManager.GraphicsDevice,
this.ImageStateData.Width,
this.ImageStateData.Height);
// Strange behaviour where the image used by the previous 'Game' is left in the RenderTarget2D
// therefore we blank the rendertarget first to ensure nothing left behind
this.BlankRenderTarget(this.InMemoryCanvasRenderTarget);
}