introduced CanvasProvider to allow JavaFXGame getting hold of the Canvas, so Users of the APi don't have to implements anything platform specific.