You may also want to make sure that the popup rect (rtl) is on a correct position.
The rect is defined with two points [lower left, upper right] in PDF user coord system (which starts in the lower left corner of the page). You may also want to make sure that the page does not have some weird croping box or rotate attrib?