fixed black border issue with PaperPanel