Fixed collision, now the isWall() function on a vertex should be called