trying to reinitialize renderer when reentering game page