gradient flip-flop workaround

Issue #64
Merge branch 'master' into generator-assets