SingleLayerWater shadow issues

I believe this is the solution! It fixed my shadows anyway. Scroll down to the bottom of the post.