Fixes the OSD ordering in the last row when grouped by hostgroup.

The connectivity of hostgroup background is not proper.
Now, the position of last row osds are right aligned if it is an even row.

Fixes: #9521

Signed-off-by: Karnan TC <kchidamb@redhat.com>