Added the ability for the image to resize when the frame is getting r
resized.