Tiled Gallery: Fix square layout remainder margin.

Remainder would be short in width from the regular rows by exactly the margin. This is now fixed by not substracting the margin from the remainder size.