Do not add undo command if scale has not changed
Fix model's signals if no symbology nodes are added
Fix #10594 (crashes when removing layers)