I tested it in a completely new project with only Hotbar Creator enabled (no other plugins at all), and everything works correctly, no black bar appears.
So it seems the issue is specific to my original project.
Do you have any idea what might cause this?