Issue description:
After clearing out the canvas, drawing something and selecting the eraser to erase, the canvas rolls back to the state that was cleared out.
Steps to reproduce:
- Draw something
- Clear out using 'X'
- Draw something
- Erase it using eraser