That’s how masonry works. In masonry rows are not aligned. So masonry script positions the boxes as per the space available. However you can trick it. For that you need to have same height for all the images which you already have. So please try to keep the title of same number of lines and this should fix your issue.
Hope it helps.