offset{X,Y} -> client{X/Y} for firefox support