[#364] fixed bounding boxes and shapes drawing through the debugPanel