Its a little bit buggy when the sharks destroys the foundation.
To fix this you can build another foundation next to the hole and it should work again :D (if no space around destroy one of the nearby foundations)