fixes offline errors related to double calling getTileUrl()