fixed geom clone bug in getFrameClosest