Fixed crash on canceling masked note opening