Added a temporary fix for compensating horizontal position when resizing the browser.