Hacked a fix for the falling through ghosts problem.