fix game rendering