Fixed Issue: Ships attacking beyond max range.

This was an issue where distance was not calculated correctly. And in
fact was a coordinate distance (Vector2) not an actual
distance(float/double).