Partially added miss detection, but there are issues as it interferes with hit detection. Maybe rewrite hit detection so it uses the same systems as miss detection.