Piano pedal is invisible in full score

Hello,

In a layout (full score layout without margin), the piano pedal is visible:

In the default full score layout, the piano pedal is visible:


How can I fix it?

Solved:

The two layouts are not the same when it comes to hiding piano staves.
The first one is done by manual hiding and the second one is done by removing the staff.