Do collision resolution based on particles. Indicate when cursor offscreen