clipRect parameter wasn't used in BitmapData.drawToSurface() method.