Add clear method for renderstate stack