CustomWindow:getFrame