fix ship drawing loop