Change `if ( !_textureAtlas ) { return; }`
to `if ( !_tileSet || !_textureAtlas ) { return; }`
?