Layout preview fix in TextEditOverlay.
Add gray margin area to last gallery entry.