Hide panels doesn't hide the code editor panel

When hiding the PG ui (pressing TAB), the code editor remains open