Fixes a runtime with flashers

Fixes #5670