Fix constraint toggle