6416 fix map rendering

Also fixed error css tag.