One solution I've seen is a plastic sheet, taped to the wall slightly higher than the pan. With the plastic leading into the pan.