BitmapData.Draw() clipRect not working.

BitmapData.draw() clipRect parameter wasn't used in the drawToSurface method so the whole source was drawn even if a cliprect was used.