fix for padding on images