It was indeed a bug. The lighting when re-entering the level was correct, but the first time lighting was wrong. This will be fixed in the next update.