Ensure collision arg is BaseEntity (fixes #1)