Fixed bug in minimap