Refactored collision check to use intersect function from Rect class