allow optimizer to move `mcons` and `box-immutable`

Suggested by Gustavo Massaccesi.
fix alignment for a drawing context with a backing scale