Ticket #1249: Fix masonry