Fix view constraints toggle bug