Merge default setting hashes
Fix bug where closest image is sporadically undefined