Spoiler: only some bitmaps used to be inverted. Added masks and fonts now in inverted mode to use the same functions.