Rectangle collision added.