Made the GL demo page clean up its attributes to avoid problems on nvideo cards.