Resizing element of a photo without leaving black shadow.