Use ol.View instead of ol.View2D