Do you have any extensions installed in Safari that might be causing this?
Just as a test, try making a new (temp) admin account then login to that account and see if Safari does this in that account. If not, that tells us it is something specific to your account causing the problem.