Fix for scrollbar positioning bug.