I suspect the solution lies in settings in your scanner software. So, what software are you using? Also, what make and model scanner do you have?
When you view the photos after scanning, what software are you using to view them with, that shows the white border? Can you view these photos with software, even Paint? Does the white border appear the same in other software?