Made background image work with resizable window.