Show invalid UI constraints in non-production only, fixes #288 (osx)