The gap between a mattress and a headboard is not always a design flaw, as a small gap makes it easier for you to change their sheets. While this gap is an intentional part of bed design, it can be really annoying if you sleep close to the headboard and lose your pillows to the gap.