Fixing dark mode

I tried making my own dark mode in version 6.4 by changing color options. However when changing the appearance to the preinstalled dark theme, it seems to cut the toolbar in two, and makes the buttons like file, insert etc… invisible(white on white). This problem happens in every application of LibreOffice. Is there any way to fix this?