Fixes problem with y offset and right/center alignment