Properly annotate rotated pdfs by rotating the coordinates of the link annotations in the scaled coordinates