Fix background error for images

Change from 1 to a percentage of the max