Fixes issue with map not beeing destroyed if map disposed before beeing inited