Fix for safari image background scaling.