After looking at your engine I have made a crude collision detection system. Basically if one of the body's joints toutches a backdrop, it does the same thing as if it hit the floor. The problem is that collision only happens at the joints so it only collides well with large smooth backdrops. Hope this helps.