Fixes missile generation issue.