image size fix for firefox