Added a callback for when a new terrain is generated, instead of checking for changes on every frame