Maytag Washer Spilling water over rim of Tub during agitation and spin

Our Maytag Washer is spilling water over the rim of the tub during the agitation cycle and spin cycle. We have checked the hoses for blockage and they are clear, we have replaced the belt, checked the pump and it is pumping, checked the drain and it is clear, checked the seal under the rim and it looks fine. Any suggestions?