fix for paper rendering