Fix in-post images expanding (#681)