tilelayer and mapbox layer fixes and "back button" fix