Prevent slice selector from using empty space in the canvas.