Change View2D to View (OL3 change in v3.0.0-gamma.1)