Remove unneeded export
Correctly get width and height of marks