Fixed #106. Remove the remaining invisible water only when there is no inflow.