Repeated the procedure, the same thing happened
Error while running event RePainter::on_player_built_tile (ID 45)
RePainter/control.lua:103: attempt to index local 'RePainterSurface' (a nil value)
stack traceback:
RePainter/control.lua:103: in function 'do_RePainter'
RePainter/control.lua:177: in function <RePainter/control.lua:176>