Fix image display to work on Firefox