restored code to interpret window_geometry as floats (defensive coding)
restored code to interpret window_geometry as floats (defensive coding)

rpavlik/chromium,rpavlik/chromium,rpavlik/chromium,rpavlik/chromium,rpavlik/chromium