Avoid a reader variable in CollisionSystem
Fix generation for negative-position chunks
Change dynamix casts to static casts in ressource accessors

It is more correct to use dynamic casts, but it causes segmentation faults.