fdo#75665: Fix the right-aligned case.

Change-Id: I905c4e331f37ed2ffbdf5c89dde9fb6c9ca546cf