changed method to load the collision rectangles.