ObstacleManager is now a singleton so that only one instance of CanvasRenderer is created