Fix for broken PDF images in /shared