Fix wrong color eraser on background change

In dotstorm, changing the background was leading to weird results.
Fixes half of issue #27.