bug 872324 - ensure window position/size attributes are passed to restoreDimensions as numbers, not strings. r=ttaubert a=lsblakk