The bug
When opening a writable or written book (book & quill) either by right-clicking when holding it as an item or by right-clicking a lectern, the interface's background is not dimmed.
Opening any other interface (such as your inventory, an enchantment table, or a chest) does dim the background.
Was able to re-create this in Minecraft 19w14b.