Fix mobile and tablet bugs