Fixing double transform menu bug