Fixed a bug with the horizontal scrollbar