viewer: fix alignment