fix game preview issue of text overflow