fixed check for deviceVisible in mobile menu controller

every generator can set his own device visibility