Fixed map.bounds error by calling map.invalidateState() after rendering ...

Fixed map.bounds error by calling map.invalidateState() after rendering view, once map container size has been defined.
Only the leftmost column of tiles was loading because the container width was never properly set. This forces the map to resize after the view has rendered.