Fixed broken title encoding in image viewer