REV: Using center in checking collision.