Dimensions: allow modification of coordinates argument

Fixes gh-1848
There's just a `.top` and `.left` in `curOffset`, what if we just constructed an object here?