Fixed bug where background is incorrect when scrolling