fixed image display issues with Firefox