Hotizontal right alignment are currently not placing the text in the correct position. This can be noticed by the overlayCounters: there is no bufferZone to the right of the text.
This patch fixes this.
While at it remove a useless variable being carried around. This is a relic from the rewrite in rP22679.
To compare (old vs new)