Is the border added as an image in it’s own track? If so, you need to go to Crop/Pan tool and uncheck “maintain aspect ratio”. That will enable so you can shape the border on top of just making it smaller. Then you can just ajust every side if the rectangle seperatly until it fits the photo. I hope this helps.