Possibly fixed day/night bug