Fixed issue with horizontal alignment