Implemented some improvements:
- When adding a gate, you can select its location on the circuit
- When adding a wire, you will get a preview of the wire before it's placed
- Select multiple gates by using a rectangle
- Fix some drawing bugs
- Small performance improvements