Latex filter fix: The image file is now regenerated if DPI is changed.