Fixed mouse click to row/col calculation. It now makes fewer assumptions about the page layout.