Stable window size during zooming

Hello,
Is it possible to keep the same size of imaging window during zooming(version 2.0 gama)?

If I write to a script as follows, Magnification react, but DrawingSize has no effect:

win = IJ.getImage().getWindow();
.
.
.
win.getCanvas().setMagnification(zoomLevel);
win.getCanvas().setDrawingSize(newWidth, newHeight);

Thank You,
Jiri