Fixes issue #1461

Stackable actions behavior can be disabled at compile time