Activate "Invert Color" results in black screen

Expected Behavior

Inverted colors

Current Behavior

Invert color results in black screen.

Steps to Reproduce

Going into Settings -> Accessibility -> Color and motion -> Color inversion and turn it on.

Device information

/device a52sxq /version lineage-21.0 /date 2024-04-17 /kernel 5.4.233-qgki-51111-g44c1c543e0dc #4 Mon Feb 26 13:17:02 CET 2024 /baseband A528BXXS6FXC1 /mods KSU 0.8.1, Zygisk-Next v1.0.4 PIF v15.9.4, NikGapps

I have read the directions.