fixed issue with tags overflowing the game window