Fix for the Ctrl+S saving.