gamepage render refactor