Fixes to projectiles and the undead

* Fixed projectiles not registering block and entity hits properly
* Improved the undead AI in terms of navigating into sunlit areas
This deserves proper lineends