fixed tablet mode visual bug