I wouldn't worry about filling in the space, unless it's dangerous. My toads love to squeeze into small spots. It's pretty funny when they squeeze in between a rock and the glass (like yours has done), but belly facing outward. You just see this flat orange and black blob through the glass.
Like firebellygirl says, it most likely makes them feel secure, and comfy.