Fix "position" variable initialization in Memento