resistor, capacitor drawing works; fixed bug in bounding box