moved map.render to level init for caching(maybe?)