Fix bad reference to settings causing program to crash if not using the default image directory.