Focus the nearest enemy when using NO_MOUSE
Use appropriate limit for float in getNearestNPC()