Fixed bug with the scroll bar location not initializing correctly.