Lighting in 19w38b seems to be glitchy. See attachment below:
This is no longer happening as of 19w42a.
Please check if that's still an issue in the latest snapshot.
This is no longer happening as of 19w42a.