✅ Trying to make an undo function on my paint program thingie - C#