Fixed document positioning/scrolling display bugs