st/dri: Set next in template instead of after creation. (v2)