prototype edge collision for rectangles has been commented out