Water: Method for counting rain in a certain area
Updated version of agentscript

Fixes a drawing bug in the Water model where drawing a layer off the
canvas would fill across the entire canvas.