Account for scrollX in tooltip position