BitmapData.draw smoothing does not work. (HTML5)

I’m trying to resize images to fit the screen resolution (to speed up the drawing).

backBitmap.bitmapData.draw(backBitmapFromSpritesheet, matrix, null, null, null, true);
The last parameter is responsible for smoothing.

The size of images varies but smoothing does not work.
How to fix it?
How to resize the bitmapData at runtime with smoothing?