Fixes #3212 : Make a commit on Directive when active technique change