Fixes issue #1 by checking if ig.game.collisionMap.data is defined