Fixed display glitch on PDF