Collapse Transformation and Layer Styles (bug)
it's not a bug, it's the nature of collapse transformation switch, and when you've added this dummy effect you simply have disabled the collapse transformation.