Fix gamma correction level being reset on startup