Wear pants - like, motorcycling pants. Helps keep the heat off your legs and crotch, and, as a bonus, protects you if you pull a Scab/keithaba/etc,etc. :)
Also, sliding back on the seat just a little, and riding with the ball of your foot on the peg should fix the majority. Whats left is the...