bug: source code is dimmed incorrectly in header files

When #defines are created using the project settings rather than in the source code, the syntax highlighter incorrectly dims sections between #ifdef / #endif blocks in header files.

For example, if I define DEBUG in the project settings and then have this in a header file:

// header.h
#ifdef DEBUG
void do_debug_thing();  // this line dimmed incorrectly

Does this make sense? I'm using the latest Keil V5 as of 18th January 2023.