Fix bug with tag layout on mobile devices