fixed embed apps accidentally showing controls when they are supposed to be hidden