fix hyperspace range calculation bug

I have not tested this on all ships, but if someone please will, I think this one together with #3007 will fix #3005