Scrolling issue fixed

This commit fixed the issue of scrolling, so that the player stays in
the center of the screen while scrolling, rather than walking the
boundary edges.