Finally the paintings are getting reset properly.

Signed-off-by: Lucas Arnström <lucasarnstrom@gmail.com>