fix trouble when mixed layout with lr-tb and tb-rl for inline-page-generator