Better random initialization + bug correction when locating ship with weird positions