allow multiple classes as scenes/states in one ScreenshotCanvasPool
the state and the scene have been merged into one, easier to understand