dirty hack to fix map rendering issues until I can figure out how to do it properly