bugfix: use collisionMask properly.