draws shadow for image