Here is a goal: How can I keep picture frames from scratching the wall?

Which way makes more sense to accomplish this goal?
Put dabs of hot glue on the back corner of the frames.