fix fromDOM static method not to assign values to ClientRect