added callback for doCollision as this was causing an error in logs