uiwebview to image works fine