Warp image to fit surface?

It seems your target surface is a “trimmed” surface which is a portion of the underlying original rectangular surface patch.
That’s why your image was mapped out of your surface boundary.
Try to prepare an “untrimmed” surface(by using Edge Surface or Network Surface command)first.