Stop burst-fire weapons from targeting things out of range

Fixes #1464