Fixed wrapping and enemy killing