So, basically:
Remove the height and width properties (Deneb will patch these for you if absent). Remove the resize: true configuration (Deneb will recalculate the view on resize anyway).
solution from here