The Dry-Bed Problem in Shallow-Water Flows