fix safari distortion, firefox blank image outline