Water acculated from rain doesn't actually permeate the soil, it drains out of the background. If you want to stop the water from draining, you'll need to place some tiles in the background to stop it.