corrects the coordinates displayed in undostack

The y-coordinate, displayed in the undo stack, of the entity added in the scene is corrected.