Fix prism twilight issue