minimap conditional rendering