Bug Fixes in fpdfpro.pas