Fix incorrect settings loading.

Signed-off-by: Baptiste Millou <baptiste@smoothie-creative.com>