When I try to pan the canvas using the hand tool (either with space bar or middle mouse button) while having a layout selected with a gap or padding, I can only pan the canvas, when I do not click inside either of those areas which is a tad annoying:

