Fix direction layout image padding in table.