Maybe s/frame/originalDirectionFrame