[[ Bug 12804 ]] Compute source rect correctly when starting custom print session.