fixed a bug that had missed some collisions

thanks to Georg Seifert for pointing out the bug, and Frederik Berlaen
for fixing it