PDF thumb generation issue on final file size fix