Bug fixes

fixed a problem with shooting enemies far to near rather than near to
far