Fix current location bug on paper edit dialog