Fixes errors in repo
Fixes small terrain offset bug