Force images to fit inside boxes in reading mode