Solved a bug of the minimap that blinked