Night mode fix