Sorry, I previously didn't understand this issue because I didn't get it the first time playing. But I just tested and it's a legitimate issue. [Redacted]
I believe replaying up to that point and looking at the detail window of the sundial face before solving the lamp puzzle will rectify the problem.