Fixed right collision code