Attach small hose to vent tube and run to a point higher than any full fuel level point so that fuel will not reach that point and dribble out.
Another choice would be to plug that vent and use a vented gas cap.