fixes baseDir path for fonts and images

Looks like config.baseDir either never existed or was removed at some point so the image dir and font dir were returning the wrong info.