Make PDF links work in fullscreen mode - updated version