Maximized windows are bigger than screen after spawning them, with border_width = 0
Problem: With border_width = 0, if I open clients - inc. firefox, code, thunar - that are opened maximized, they are bigger than the screen at the bottom. Then, if I toggle maximization - i.e. unmaximizing the client, then maximizing it again - the client gets fitted into the screen.
I checked this with default rc.lua and default theme, only changing border_width to border_width = 0.
Output of awesome --version:
awesome v4.3 (Too long)
• Compiled against Lua 5.3.6 (running with Lua 5.3)
• D-Bus support: ✔
• execinfo support: ✔
• xcb-randr version: 1.6
• LGI version: 0.9.2
Screenshots:
- Firefox after spawning
- After Unmaximize -> maximize

In the meantime this problem did not bother me too much, but today I disabled titlebar for a client that opens maximized by default and it had the proper size.
Therefore, I think the problem is the following: When I open a new client (that is maximized by default), the WM doesn't calcaulate the size of the titlebar into the final size. Any suggestion or workaround for that problem?