fix bug where devices that shouldn't be getting tablet mode were.