Refactored Game2dRenderer