Bugfix: rootpath wasn't recognized
Image refreshes now after resizing the viewport