aligned rect tooltips with axes; fixed a few bugs