Title bar contents barely readable on macOS 27

Hi! After upgrading to macOS 27 Golden Gate, the text and icon color in Core Shell's title bar adapts to the system's active light/dark mode rather than the current terminal color scheme. This means that if you work in system light mode with a dark terminal color scheme (or in system dark mode with a light terminal color scheme), the contents of the title bar almost disappear, depending on the remaining contrast. Note that in this screenshot, the title bar shows a terminal icon, the username, the currently active shell application and the window size next to the traffic light window controls:

Is it just my machine that does this or can you confirm this is a bug that needs fixing?