fix some minimap display bugs
prototype