Fixed water/lava only moving while player touched walls.

Counter was inside the collision loop.