fix resize pdf render