Fix exception when resizing the browser window.
Fix exception when resizing the browser window.

garnertb/MapLoom,smesdaghi/MapLoom,ROGUE-JCTD/MapLoom,darinacosta/MapLoom,MapStory/MapLoom,GistdaDev/MapLoom,ua-snap/MapLoom,smesdaghi/MapLoom,terranodo/MapLoom,terranodo/MapLoom,garnertb/MapLoom,GistdaDev/MapLoom,pjdufour/MapLoom,MapStory/MapLoom,pjdufour/MapLoom,darinacosta/MapLoom,terranodo/MapLoom,smesdaghi/MapLoom,darinacosta/MapLoom,davisc/MapLoom,ROGUE-JCTD/MapLoom,davisc/MapLoom,davisc/MapLoom,pjdufour/MapLoom,ua-snap/MapLoom,state-hiu/MapLoom,MapStory/MapLoom,pjdufour/MapLoom,ua-snap/MapLoom,GistdaDev/MapLoom,ua-snap/MapLoom,ROGUE-JCTD/MapLoom,state-hiu/MapLoom,ROGUE-JCTD/MapLoom,garnertb/MapLoom,darinacosta/MapLoom,GistdaDev/MapLoom,garnertb/MapLoom,MapStory/MapLoom,terranodo/MapLoom,state-hiu/MapLoom,davisc/MapLoom,smesdaghi/MapLoom,state-hiu/MapLoom