Fix tablet detect