The painting mode is whether the area within the margins will be tiled or stretched as the size of the area it needs to cover increases. Some elements also have smarter options that let you tile horizontally while stretching vertically, and vice versa. Try making your margins a little bit wider if you can get away with it.