wpf writeablebitmap performance