Fixed onstate of mixer. Fixes #5728

Fixes #5728