Added hack to stop player from falling through terrain, not really working that well