Merge branch 'ipad-bug'

* ipad-bug:
  Added workaround: canvas.getDataUrl() not supported on iPad Safari.